@echo off
echo Setting up LW Project Development Environment...

rem Set Java 17
set JAVA_HOME=C:\Program Files\Eclipse Adoptium\jdk-17.0.16.8-hotspot
set MAVEN_HOME=C:\Program Files\apache-maven-3.9.6

rem Add to PATH
set PATH=%MAVEN_HOME%\bin;%JAVA_HOME%\bin;%PATH%

echo Java Version:
java -version

echo.
echo Maven Version:
call mvn -version

echo.
echo Environment setup complete!
echo You can now use Maven to build and run the LW project.
echo.
echo Useful commands:
echo   mvn clean compile -DskipTests    # Compile the project
echo   mvn spring-boot:run -pl lw-server    # Start the application
echo.